package com.huiminpay.merchant.covert;


import com.huiminpay.merchant.vo.PayChannelVo;
import com.huiminpay.transaction.dto.PayChannelDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface PayChannelCovert {

    PayChannelCovert INSTANCE = Mappers.getMapper(PayChannelCovert.class);


    PayChannelDTO vo2dto(PayChannelVo payChannelVo);
    PayChannelVo dto2vo(PayChannelDTO payChannelDTO);

    List<PayChannelDTO> vo2dtoList(List<PayChannelVo> payChannelVos);
    List<PayChannelVo> dto2voList(List<PayChannelDTO> payChannelDTOS);



}
